package com.superbytecode.redis.constant;

/**
 * All rights Reserved, Designed By www.super-bytecode.com
 *
 * @ProjectName: superbytecode-beacon
 * @Package: com.superbytecode.framework.redis.constant
 * @ClassName: CacheDuration
 * @Description: [常用时间段（对应秒数）]
 * <p> 以秒为单位 </p>
 * @Author: [Lance Ting]
 * @Date: 2023/11/17 18:44
 * @Version: V1.0
 * @Copyright: 2023 www.super-bytecode.com Inc. All rights reserved.
 * TODO: 注意,本文件Lance Ting所作,如果转载或使用请标明具体出处!
 **/
public class CacheDuration {
    public final int SECOND = 1;
    public final int MINUTE = 60;
    public final int HOUR = 60 * MINUTE;
    public final int DAY = 24 * HOUR;
    public final int MONTH = 30 * DAY;
    public final int YEAR = 12 * MONTH;
    /**
     * 永不过期
     */
    public final int FOREVER = 0;
}